Optimal. Leaf size=121 \[ \frac{(a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{b (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.093475, antiderivative size = 121, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {140, 139, 138} \[ \frac{(a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{b (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 140
Rule 139
Rule 138
Rubi steps
\begin{align*} \int (a+b x)^m (c+d x)^{-m} (e+f x)^p \, dx &=\left ((c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m\right ) \int (a+b x)^m \left (\frac{b c}{b c-a d}+\frac{b d x}{b c-a d}\right )^{-m} (e+f x)^p \, dx\\ &=\left ((c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m (e+f x)^p \left (\frac{b (e+f x)}{b e-a f}\right )^{-p}\right ) \int (a+b x)^m \left (\frac{b c}{b c-a d}+\frac{b d x}{b c-a d}\right )^{-m} \left (\frac{b e}{b e-a f}+\frac{b f x}{b e-a f}\right )^p \, dx\\ &=\frac{(a+b x)^{1+m} (c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m (e+f x)^p \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (1+m;m,-p;2+m;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{b (1+m)}\\ \end{align*}
Mathematica [A] time = 0.198775, size = 119, normalized size = 0.98 \[ \frac{(a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m,-p;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{b (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.145, size = 0, normalized size = 0. \begin{align*} \int{\frac{ \left ( fx+e \right ) ^{p} \left ( bx+a \right ) ^{m}}{ \left ( dx+c \right ) ^{m}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (f x + e\right )}^{p}}{{\left (d x + c\right )}^{m}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b x + a\right )}^{m}{\left (f x + e\right )}^{p}}{{\left (d x + c\right )}^{m}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b x + a\right )}^{m}{\left (f x + e\right )}^{p}}{{\left (d x + c\right )}^{m}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]